package com.example.demo02.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo02.entity.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookService extends IService<Book> {
    String getValue(String redis);

    void saveBook(Book book);

    Book findBookById(int i);

    void setValue(String redis, String spring_date_redis);

    void saveBooks(String s, List<Book> books);

    List<Book> findBooks(String s);

    void deleteBook(int id);
}
